export default {
  bar: {
    chart: {
      type: 'column'// 指定图表的类型，默认是折线图（line）
    },
    credits: {
      enabled: false
    }, // 去掉地址
    title: {
      text: '图表' // 指定图表标题
    },
    colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00',
      '#24CBE5'],
    xAxis: {
      categories: ['1号', '2号', '3号', '3号', '3号'] // 指定x轴分组
    },
    yAxis: {
      title: {
        text: '最近七天' // 指定y轴的标题
      }
    },
    plotOptions: {
      column: {
        colorByPoint: true
      }
    },
    series: [{ // 指定数据列
      name: '小明',
      data: [{
        y: 1000,
        color: 'red' }, 5000, 4000, 5000, 2000] // 数据
    }]
  },
  bar3d: {
    colors: ['#7cb5ec', '#90ed7d', '#f7a35c', '#8085e9',
      '#f15c80', '#e4d354', '#2b908f', '#f45b5b', '#91e8e1'],
    chart: {
      type: 'cylinder',
      backgroundColor: '',
      spacingBottom: 0,
      spacingTop: 1,
      spacingLeft: 1,
      spacingRight: 1,
      options3d: {
        enabled: true,
        alpha: 15,
        beta: 5,
        depth: 50,
        viewDistance: 25
      }
    },
    title: {
      text: '',
      margin: 0
    },
    xAxis: [
      {
        lineColor: '#fff',
        labels: {
          style: {
            color: '#fff'
          }
        },
        categories: ['空']
      }
    ],
    yAxis: [
      {
        lineColor: '#fff',
        labels: {
          style: {
            color: '#fff'
          }
        },
        title: {
          text: ''
        }
      }
    ],
    plotOptions: {
      series: {
        depth: 25,
        colorByPoint: true
      }
    },
    series: [{
      data: [0],
      name: '值',
      showInLegend: false
    }]
  },
  pie3d: {
    colors: ['#7cb5ec', '#90ed7d', '#f7a35c', '#8085e9',
      '#f15c80', '#e4d354', '#2b908f', '#f45b5b', '#91e8e1'],
    chart: {
      spacing: 0,
      backgroundColor: '',
      type: 'pie',
      marginBottom: 10,
      marginTop: 10,
      // marginLeft: 10,
      // marginRight: 10,
      options3d: {
        enabled: true,
        alpha: 45
      }
    },
    title: {
      text: '',
      margin: 0
    },
    plotOptions: {
      pie: {
        innerSize: 40,
        depth: 25,
        dataLabels: {
          distance: 8
        }
      }
    },
    series: [{
      name: '数据采集项',
      data: [
        ['选项1', 1],
        ['选项2', 1]
      ]
    }]
  },
  pie3dSolid: {
    colors: ['#7cb5ec', '#90ed7d', '#f7a35c', '#8085e9',
      '#f15c80', '#e4d354', '#2b908f', '#f45b5b', '#91e8e1'],
    chart: {
      backgroundColor: '',
      type: 'pie',
      options3d: {
        enabled: true,
        alpha: 45,
        beta: 0
      }
    },
    title: {
      text: '',
      margin: 0
    },
    tooltip: {
      pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
    },
    plotOptions: {
      pie: {
        allowPointSelect: true,
        cursor: 'pointer',
        depth: 25,
        dataLabels: {
          distance: 8,
          enabled: true,
          format: '{point.name}'
        }
      }
    },
    series: [{
      type: 'pie',
      name: '浏览器占比',
      data: [
        ['4级', 45.0],
        ['3级', 26.8],
        {
          name: '1级',
          y: 12.8,
          sliced: true,
          selected: true
        },
        ['2级', 8.5]

      ]
    }]
  },
  pie3dd: {
    colors: ['#7cb5ec', '#90ed7d', '#f7a35c', '#8085e9',
      '#f15c80', '#e4d354', '#2b908f', '#f45b5b', '#91e8e1'],
    chart: {
      spacing: 0,
      backgroundColor: '',
      type: 'pie',
      marginBottom: 10,
      marginTop: 10,
      // marginLeft: 10,
      // marginRight: 10,
      options3d: {
        enabled: true,
        alpha: 45
      }
    },
    title: {
      text: '',
      margin: 0
    },
    plotOptions: {
      pie: {
        innerSize: 40,
        depth: 25,
        dataLabels: {
          distance: 8
        }
      }
    },
    series: [{
      name: '数据采集项',
      data: [
        ['出厂', 5],
        ['入厂', 9]
      ]
    }]
  }

}
